package com.evenmo.service.impl;

import com.evenmo.mapper.StudentMapper;
import com.evenmo.pojo.Student;
import com.evenmo.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * This is Description
 *
 * @author moyongjun
 * @date 2019/12/06
 */
@Service("studentService")
public class StudentServiceImpl implements StudentService {

@Resource
private StudentMapper studentMapper;
    @Override
    public Student queryById(Integer id) {
        return studentMapper.queryById(id);
    }

    @Override
    public Student queryHaveClazzById(Integer id) {
        return studentMapper.queryHaveClazzById(id);
    }
}
